package com.guiji.text2video.job.domain;

import com.guiji.text2video.common.core.annotation.Excel;
import com.guiji.text2video.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import org.apache.ibatis.annotations.Mapper;

/**
 * @program: cms-vue-plus
 * @description:
 * @author: gaoX
 * @date 2022/2/9 11:03
 */
@Mapper
public class YoutubeAnalysis extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 时间段0,7,28,90 */
    @Excel(name = "时间段0,7,28,90")
    private Integer period;

    /** youtube账号 */
    @Excel(name = "youtube账号")
    private String youtubeAccount;

    /** cookie名称 */
    @Excel(name = "cookie名称")
    private String youtubeCookie;

    /** 频道id */
    @Excel(name = "频道id")
    private String channelId;

    /** 累计观看量 */
    @Excel(name = "累计观看量")
    private String viewCount;

    /** 观看时长 */
    @Excel(name = "观看时长")
    private String viewTime;

    /** 平均观看时长 */
    @Excel(name = "平均观看时长")
    private String avgViewTime;

    /** 累计订阅量 */
    @Excel(name = "累计订阅量")
    private String subscribeNum;

    /** 千人成本 */
    @Excel(name = "千人成本")
    private String cpm;

    /** 表示每千次展示收入 */
    @Excel(name = "表示每千次展示收入")
    private String rpm;

    /** 累计获利 */
    @Excel(name = "累计获利")
    private String income;

    /** 上传视频数 */
    @Excel(name = "上传视频数")
    private String uploadNum;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String backup1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String backup2;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPeriod(Integer period)
    {
        this.period = period;
    }

    public Integer getPeriod()
    {
        return period;
    }
    public void setYoutubeAccount(String youtubeAccount)
    {
        this.youtubeAccount = youtubeAccount;
    }

    public String getYoutubeAccount()
    {
        return youtubeAccount;
    }
    public void setYoutubeCookie(String youtubeCookie)
    {
        this.youtubeCookie = youtubeCookie;
    }

    public String getYoutubeCookie()
    {
        return youtubeCookie;
    }
    public void setChannelId(String channelId)
    {
        this.channelId = channelId;
    }

    public String getChannelId()
    {
        return channelId;
    }
    public void setViewCount(String viewCount)
    {
        this.viewCount = viewCount;
    }

    public String getViewCount()
    {
        return viewCount;
    }
    public void setViewTime(String viewTime)
    {
        this.viewTime = viewTime;
    }

    public String getViewTime()
    {
        return viewTime;
    }
    public void setAvgViewTime(String avgViewTime)
    {
        this.avgViewTime = avgViewTime;
    }

    public String getAvgViewTime()
    {
        return avgViewTime;
    }
    public void setSubscribeNum(String subscribeNum)
    {
        this.subscribeNum = subscribeNum;
    }

    public String getSubscribeNum()
    {
        return subscribeNum;
    }
    public void setCpm(String cpm)
    {
        this.cpm = cpm;
    }

    public String getCpm()
    {
        return cpm;
    }
    public void setRpm(String rpm)
    {
        this.rpm = rpm;
    }

    public String getRpm()
    {
        return rpm;
    }
    public void setIncome(String income)
    {
        this.income = income;
    }

    public String getIncome()
    {
        return income;
    }
    public void setUploadNum(String uploadNum)
    {
        this.uploadNum = uploadNum;
    }

    public String getUploadNum()
    {
        return uploadNum;
    }
    public void setBackup1(String backup1)
    {
        this.backup1 = backup1;
    }

    public String getBackup1()
    {
        return backup1;
    }
    public void setBackup2(String backup2)
    {
        this.backup2 = backup2;
    }

    public String getBackup2()
    {
        return backup2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("period", getPeriod())
                .append("youtubeAccount", getYoutubeAccount())
                .append("youtubeCookie", getYoutubeCookie())
                .append("channelId", getChannelId())
                .append("viewCount", getViewCount())
                .append("viewTime", getViewTime())
                .append("avgViewTime", getAvgViewTime())
                .append("subscribeNum", getSubscribeNum())
                .append("cpm", getCpm())
                .append("rpm", getRpm())
                .append("income", getIncome())
                .append("uploadNum", getUploadNum())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("backup1", getBackup1())
                .append("backup2", getBackup2())
                .toString();
    }
}
